﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Cinema.Model
{
    class Ticket
    {
        //vars
        static int count;
        int sn;
        Projection projection;
        //vars

        //constructor
        public Ticket(Projection projection)
        {
            count++;
            sn = count;
            this.projection = projection;
        }
        //constructor

        //set
        public void setSN(int sn)
        {
            this.sn = sn;
        }

        public void setProjection(Projection projection)
        {
            this.projection = projection;
        }
        //set

        //get
        public int getSN()
        {
            return sn;
        }

        public Projection getProjection()
        {
            return projection;
        }
        //get
    }
}
